package cn.jtfadmin.base.lang.config.statuscode;

/**
 * 异常状态码描述
 */
public class ExceptionStatusDescribe extends StatusDescribe {

    private Class<? extends Throwable>[] exClass;

    public ExceptionStatusDescribe(String describe, Integer errorCode, Class<? extends Throwable>... exClass) {
        super(describe, errorCode);
        this.exClass = exClass;
    }

    public ExceptionStatusDescribe() {

    }

    public Class<? extends Throwable>[] getExClass() {
        return exClass;
    }

    public void setExClass(Class<? extends Throwable>[] exClass) {
        this.exClass = exClass;
    }


    public String getDescribe(Throwable throwable) {
        return super.getDescribe()+"";
    }
}
